<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%--<x:parse xml="${param.xmlstr}" var="xmlData" />--%>
<div class="t_bar">
	<span class="color_red">*</span>项目人员情况<c:if test="${not empty param.info }">${param.info }</c:if>
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	<!-- <span style="font-size: 12px;font-weight: normal;">
		（如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改）
	</span> -->
	</security:authorize>
</div>
<style>
	.word{
		word-break:break-all;
		word-wrap: break-word;
	}
</style>
	<table  id="zh_persons" border="0"  cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
                <th width="5%" >选择</th>
                <th width="6%" nowrap>序号</th>
				<th  width="13%">姓名</th>
				<th  width="12%">出生年月</th>
				<th  width="10%">文化程度</th>
				<th  width="17%">工作单位</th>
				<th  width="11%">职务/职称</th>
				<th  width="10%" nowrap="nowrap">项目中承担任务</th>
			</tr>
		</thead>
		<tbody id="tab" >
			<tr style="display: none">
				<td  align="center" >
					<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|org_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|tel_work" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|fax" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_college" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_year" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|address" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_name"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|birth_date"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|gender_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|age"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|educate_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|iscomember" value="0"/>
					<input type="hidden" name="zh_persons|zh_person[0]|researches" label="xml"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_name" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_code"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|email"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|mobile"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|major_work" />
				</td>
				<td align="center" class="word">
					<span name="zh_persons|zh_person[0]@seq_no">[index]</span>
				</td>
				<td align="center" class="word">
					<span name="zh_persons|zh_person[0]|basic_info|zh_name"></span>
				</td>
				<td align="center" class="word">
					<span name="zh_persons|zh_person[0]|basic_info|birthday"></span>
				</td>
				<td align="center" class="word">
					<span name="zh_persons|zh_person[0]|basic_info|educate_name"></span>
				</td>
				<td align="center" class="word">
					<span  name="zh_persons|zh_person[0]|basic_info|org_name" ></span>
				</td>
				<td align="center" class="word">
					 <span name="zh_persons|zh_person[0]|basic_info|position"></span>/<span name="zh_persons|zh_person[0]|basic_info|prof_title_name"></span>
				</td>
				<td align="center" class="word">
					<span name="zh_persons|zh_person[0]|basic_info|work" ></span>
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td  align="center"  width="50px" >
						<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
						<c:if test="${index==0}">
							<input type="hidden" id="submit_psn" name="zh_persons/zh_person[${flag}${index}]@submit_psn" value="1" />
							<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/psn_code" value="<x:out select="$zh_person/basic_info/psn_code" />"/>
						</c:if>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/en_name" value="<x:out select="$zh_person/basic_info/en_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$zh_person/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$zh_person/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_code" value="<x:out select="$zh_person/basic_info/subject_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_name" value="<x:out select="$zh_person/basic_info/subject_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$zh_person/basic_info/discipline_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$zh_person/basic_info/discipline_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_value" value="<x:out select="$zh_person/basic_info/region_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_name" value="<x:out select="$zh_person/basic_info/region_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value" value="<x:out select="$zh_person/basic_info/gender_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_value" value="<x:out select="$zh_person/basic_info/card_type_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_value" value="<x:out select="$zh_person/basic_info/academician_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_name" value="<x:out select="$zh_person/basic_info/academician_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code" value="<x:out select="$zh_person/basic_info/org_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work" value="<x:out select="$zh_person/contact/tel_work" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/fax" value="<x:out select="$zh_person/contact/fax" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value" value="<x:out select="$zh_person/basic_info/degree_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name" value="<x:out select="$zh_person/basic_info/degree_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_code" value="<x:out select="$zh_person/basic_info/post_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$zh_person/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$zh_person/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_college" value="<x:out select="$zh_person/basic_info/degree_college" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_year" value="<x:out select="$zh_person/basic_info/degree_year" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title" value="<x:out select="$zh_person/basic_info/prof_title" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$zh_person/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/address" value="<x:out select="$zh_person/basic_info/address" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$zh_person/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$zh_person/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age" value="<x:out select="$zh_person/basic_info/age" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value" value="<x:out select="$zh_person/basic_info/educate_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code" value="<x:out select="$zh_person/basic_info/card_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$zh_person/basic_info/card_type_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/email" value="<x:out select="$zh_person/contact/email" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/mobile" value="<x:out select="$zh_person/contact/mobile" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/major_work" value="<x:out select="$zh_person/basic_info/major_work" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/iscomember" value="0"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml"/>
					</td>
					<td align="center" word="word">
					<span name="zh_persons/zh_person[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<td align="center" class="word">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"><x:out select="$zh_person/basic_info/zh_name" /></span>
					</td>
					<td align="center" class="word">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday"><x:out select="$zh_person/basic_info/birthday" /></span>
					</td>
					<td align="center" class="word">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name"><x:out select="$zh_person/basic_info/educate_name" /></span>
					</td>
					<td align="center" class="word">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name"><x:out select="$zh_person/basic_info/org_name" /></span>
					</td>
					<td align="center" class="word">
						<c:set var="zhiwu"><x:out select="$zh_person/basic_info/position"  escapeXml="false" /></c:set>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/position"><x:out select="$zh_person/basic_info/position" /></span>/<span name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name"><x:out select="$zh_person/basic_info/prof_title_name" /></span>
					</td>
					<td align="center" class="word">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/work"><c:choose><c:when test="${index==0}">项目负责人</c:when><c:otherwise><x:out select="$zh_person/basic_info/work" /></c:otherwise></c:choose></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
<br>

	<table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
				<input class="button_02" type="button" value="添加" onclick="if(checkTabLimit('zh_persons',20,'高校科研院所横向课题备案主要研究名单最多只能填写20条')){addNewRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_ybyf_contract_1?parentTab=zh_persons&type=add&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','添加项目参与人');}try{top.resizeFrame();}catch(e){};">
				&nbsp;<input class="button_02"  id="zh_psnPrev" type="button" value="上移" onclick="movePrev('zh_persons');setSubmitPsn()">
				&nbsp;<input class="button_02"  id="zh_psnNext" type="button" value="下移" onclick="moveNext('zh_persons');setSubmitPsn()">
				&nbsp;<input class="button_02"  id="zh_psnEdit" type="button" value="编辑" onclick="if(checkSubmitPsn('zh_persons'))editRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_ybyf_contract_1?parentTab=zh_persons&type=edit&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','编辑项目参与人信息')">
				&nbsp;<input class="button_02"  id="zh_psnDel" type="button" value="删除" onclick="deleteSelectedRow('zh_persons','人员信息',1,'申请人不能被删除');"></td>
		</tr>
		</tbody>
		<tfoot>
		</tfoot>
	</table>
	
	<c:if test="${not empty param.show_technolog_psn }">
	  <div class="t_bar">
			<span class="color_red">*</span>技术负责人情况 
	  </div>
	  <table  id="tec_fzr" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" >
	  	<col width="11%"/>
	  	<col width="22%"/>
	  	<col width="11%"/>
	  	<col width="22%"/>
	  	<col width="11%"/>
	  	<col width="23%"/>
			 <tr>
			 	<td align="right">
			 		姓名：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/cname" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/cname"/>" class="input_css required maxlength:20" maxlength="20" style="width:80%;" label="姓名"/>
				 </td>
				 <td align="right">
			 		性别：
			 	</td>
				<td>
					<input type="radio" id="gender_1" name="gender" label="男"  value="01" class="do"  />男
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" id="gender_2" name="gender"  label="女" value="02"  class="do" />女
					<input type="hidden" name="zh_persons/tec_fzr/gender_value" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/gender_value"/>" label="性别" class="required" />
					<input type="hidden" name="zh_persons/tec_fzr/gender_name"  value="<x:out select="$xmlData/data/zh_persons/tec_fzr/gender_name"/>" />
			 	</td>
			 	<td align="right">
			 		身份证号：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/card_code" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/card_code"/>" class="input_css required maxlength:20 idCard" maxlength="20" style="width:80%;" label="身份证号"/>
				 </td>
			 </tr>
			 <tr>
			 	<td align="right">单位名称：</td>
			 	<td colspan="5">
			 		<input type="text"  name="zh_persons/tec_fzr/work_location" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/work_location"/>" class="input_css required maxlength:100" maxlength="100" style="width:95.5%;" label="单位名称"/>
			 	</td>
			 </tr>
			 
			 <tr>
			 	<td align="right">
			 		学历：
			 	</td>
				 <td>
				 	<c:set var="educate_value"><x:out select="$xmlData/data/zh_persons/tec_fzr/educate_value"/></c:set>
				 	<cpt:select id="educate"  key="educate"  name="educate" value="${educate_value }" style="width:162px;"></cpt:select>
					<input type="hidden" name="zh_persons/tec_fzr/educate_value"  class="required" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/educate_value"/>" label="学历">
					<input type="hidden" name="zh_persons/tec_fzr/educate_name" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/educate_name"/>">
				 </td>
				  <td align="right">
			 		职称：
			 	</td>
				 <td >
				 	<c:set var="prof_title">{'id':'<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_value"/>','name':'<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_name"/>'}</c:set>
	          	<cpt:tree key="prof_title" cacheable="false" className="" readonly="true" value="${prof_title}" label="职称"  width="125px" id="prof_titleprof_title" name="prof_title" showPattern="all" shieldPattern="0" onClick="initTreeValue"/>
		        	<input type="hidden" id="prof_title_value" name="zh_persons/tec_fzr/prof_title_value" class="required" label="职称" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_value"/>" />
	            <input type="hidden" id="prof_title_name"  name="zh_persons/tec_fzr/prof_title_name" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_name"/>" />
				 </td>
				 
				 <td align="right">
			 		职位：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/position" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/position"/>" class="input_css required maxlength:20" maxlength="20" style="width:80%;" label="职位"/>
				 </td>
				 
			 </tr>
			 <tr>
			 	<td align="right">
			 		专业：
			 	</td>
				 <td >
				 	<input type="text"  name="zh_persons/tec_fzr/major_work" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/major_work"/>" class="input_css required maxlength:50" maxlength="50" style="width:93%;" label="专业"/>
				 </td>
				 <td align="right">
			 		手机：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/mobile" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/mobile"/>" class="input_css required maxlength:11 mobile" onfocus="InitInput.setNumber(this,11,0,0)" maxlength="11" style="width:80%;" label="手机"/>
				 </td>
				  <td align="right" nowrap="nowrap">
			 		每年工作时间（%）：
			 	</td>
				 <td>
				 	<input id="year_worktime" type="text"  name="zh_persons/tec_fzr/year_worktime" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/year_worktime"/>" class="input_css required maxlength:6 " onfocus="InitInput.setNumber(this,3,2,2)"  style="width:80%;text-align: right;" label="每年工作时间"/>
				 </td>
			 </tr>
		</table>
	</c:if>
	
	<c:if  test="${not empty param.show_peopoal_total }">
		<div class="t_bar">
			<span class="color_red">*</span>项目总人数
		</div>
		<table class="t_css" width="100%" border="0" cellpadding="0"
			cellspacing="1" id="persons">
			<tr class="li_1">
				<td align="right">总人数：</td>
				<td>
					<input type="text" name="zh_persons/psncnt_total" id="psncnt_total"  disabled
					class="gray  irisValGreatEqual:psncnt_total:psncnt_total_tmp1 irisValGreatEqual:psncnt_total:psncnt_total_tmp2" 
					label="总人数" onfocus="InitInput.setNumber(this,9,0,0)" 
					style="text-align:right; width:100px;" value="<x:out select="$xmlData/data/zh_persons/psncnt_total" />" />人
					<input id="psncnt_total_tmp1" name="zh_persons/psncnt_total_tmp1" type="hidden"  class="valueGreatEqual:psncnt_total:psncnt_total_tmp1"
					label="项目人员高级职称、中级职称、初级职称人数之和" value="<x:out select="$xmlData/data/zh_persons/psncnt_total_tmp1" />">
					<%-- <input id="psncnt_total_tmp2" name="zh_persons/psncnt_total_tmp2" type="hidden"  class="valueEqual:psncnt_total:psncnt_total_tmp2"  
					 label="项目人员博士、硕士、学士、其他人数之和" value="<x:out select="$xmlData/data/zh_persons/psncnt_total_tmp2" />"> --%>
					 <%-- <input type="text" name="zh_persons/psncnt_total" id="psncnt_total"  disabled
					class="gray required irisValGreatEqual:psncnt_total:psncnt_total_tmp " label="总人数" onfocus="InitInput.setNumber(this,9,0,0)" 
					style="text-align:right; width:100px;" value="<x:out select="$xmlData/data/zh_persons/psncnt_total" />" />人
					<input id="psncnt_total_tmp" name="zh_persons/psncnt_total_tmp" type="hidden" 
					label="项目人员高级职称、中级职称、初级职称、博士、硕士、学士、其他人数之和" value="<x:out select="$xmlData/data/zh_persons/psncnt_total_tmp" />"/> --%>
					
				</td>
				<td align="right" nowrap>高级职称：</td>
				<td>
					<input type="text" id="psncnt_high" name="zh_persons/psncnt_high" class=" required"  
					label="高级职称人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
					value="<x:out select="$xmlData/data/zh_persons/psncnt_high" />" 
					onchange="countNum('psncnt_','low,mid,high,','total_tmp1');"/>人
				</td>
					<td align="right"nowrap>中级职称：</td>
				<td>
					<input type="text" id="psncnt_mid" name="zh_persons/psncnt_mid" class=" required"  
					 label="中级职称人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
					 value="<x:out select="$xmlData/data/zh_persons/psncnt_mid" />" 
					 onchange="countNum('psncnt_','low,mid,high','total_tmp1');" />人
				</td>
				<td align="right"nowrap>初级职称：</td>
				<td>
					<input type="text" id="psncnt_low" name="zh_persons/psncnt_low" class=" required" 
					label="初级职称人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
					value="<x:out select="$xmlData/data/zh_persons/psncnt_low" />" 
					onchange="countNum('psncnt_','low,mid,high','total_tmp1');"/>人
				</td>
			</tr>
			<tr>
			
				<td align="right"nowrap>博  士：</td>
				<td>
					<input type="text" id="psncnt_postdoctor" name="zh_persons/psncnt_postdoctor" class=" required" 
					label="博士人数" onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
					value="<x:out select="$xmlData/data/zh_persons/psncnt_postdoctor" />" 
					onchange="countNum('psncnt_','postdoctor,doctoral,master,other','total');"/>人
				</td> 
				 <td align="right"nowrap>硕  士：</td>
				<td>
					<input type="text" id="psncnt_doctoral" name="zh_persons/psncnt_doctoral" class=" required" 
					label="硕士人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
					value="<x:out select="$xmlData/data/zh_persons/psncnt_doctoral" />" 
					onchange="countNum('psncnt_','postdoctor,doctoral,master,other','total');"/>人
				</td> 
				<td align="right"nowrap>学  士：</td>
				<td>
					<input type="text" id="psncnt_master" name="zh_persons/psncnt_master" class=" required" 
					label="学士人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
					value="<x:out select="$xmlData/data/zh_persons/psncnt_master" />" 
					onchange="countNum('psncnt_','postdoctor,doctoral,master,other','total');"/>人
				</td>
				<td align="right"nowrap>其  他：</td>
				<td>
					<input type="text" id="psncnt_other" name="zh_persons/psncnt_other" class=" required" 
					label="其他人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
					value="<x:out select="$xmlData/data/zh_persons/psncnt_other" />" 
					onchange="countNum('psncnt_','postdoctor,doctoral,master,other','total');"/>人
				</td>
			</tr>
		</table>
	</c:if>	  

<script type="text/javascript">
function selectFirstRadio(obj) {
	$(obj).parent('td').parent('tr').find('input[type="radio"]').attr("checked","checked");
	setSubmitPsn();
}
function checkSubmitPsn(tableId){
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	var tr=$("#"+tableId+" :radio:checked").parents("tr");
	if(tr.length!=0 && tr.get(0).rowIndex==2){
		scmWarn('如果您需要修改申请人信息， 请保存合同书后点击菜单“系统管理”>“个人信息维护”完成修改');
		return false;
	}
	</security:authorize>
	
	return true;
		
}
function psnSynchro(){
	$("span[name$='fzr_psnname']").text($("#zh_persons tr:eq(2)").find("span[name$='basic_info/zh_name']").text());
	$("span[name$='fzr_tel']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/tel_work']").val());
	$("span[name$='fzr_mobile']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/mobile']").val());
	$("span[name$='fzr_mail']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/email']").val());
}
function initTreeValue(treeId, treeNode) {
	if ((treeNode && treeNode.isParent)) {
		scmWarn("请选择具体的"+$("#" + treeId).attr("label"));
			$("#" + treeId).val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId+ "_code']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId+ "_value']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId+ "_name']").val("");
			return false;
		}
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		while (obj != null) {
			str = obj.name + " - " + str;
			obj = obj.parentNode;
		}
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId+ "_code']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId+ "_value']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId+ "_name']").val(str);
	}
</script>
